<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%> 
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%> 
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/translator.tld" prefix="trans" %>
<trans:initPage module="filter" />

<table width=95%>
<tr>
<!--MENU-->
<td valign=top>
<table width="85%" align="center" cellpadding="5" cellspacing="1" border="0" bgcolor="#3399CC">
 <tr>
    <td class=textalb>
      <div align=center><trans:showPageMessage label="filter.filterslist" /></div>
    </td>

  </tr>
 <td bgcolor="#FFFFFF"><tr bgcolor="#FFFFFF">
    <td class="text_search" bgcolor="#FFFFFF">
    <table border=0 width="100%" cellpadding="5" cellspacing="1" class="text_search" height="100%" background=<html:rewrite page="/images/pixelbgtable.gif"/>>

<tr bgcolor="#FFFFFF" align=center>
<td class="text_searchbold" width="5%">
<trans:showPageMessage label="filter.delete" />?
</td>
<td class="text_searchbold">
<trans:showPageMessage label="filter.name" />
</td>
<td class="text_searchbold" width="20%">
<trans:showPageMessage label="filter.edit" />
</td>

</tr>
<form method=POST action=<html:rewrite page="/prjfilter.do"/> >

<logic:present name="filters">
<logic:iterate scope="request" name="filters" id="filter">
<tr>
<td bgcolor="#FFFFFF" width=30>
<input type='checkbox' name='delfilters' value='<bean:write name="filter" property="id" />' />
</td>
<td bgcolor="#FFFFFF">
<html:link page="/prjfilter.do?mode=edit" paramName="filter" paramProperty="id" paramId="id">
<trans:showPageMessage label="filter.filter" /> #<bean:write name="filter" property="id" />
</html:link></td>
<td bgcolor="#FFFFFF">
<html:link page="/prjfilter.do?mode=edit" paramName="filter" paramProperty="id" paramId="id">
<trans:showPageMessage label="filter.edit" />
</html:link>
</td>
</tr>
</logic:iterate>
</logic:present>
<tr>
<td bgcolor="#FFFFFF" colspan=3>
<html:submit property="delete" styleClass="buton">
<trans:showPageMessage label="filter.delselfilters" />
</html:submit>
<input type=button class=buton value="Add New Filter" onclick="javascript:window.location.href='<html:rewrite page="/prjfilter.do"/>';"/>
</tr>
<logic:present name="pagetk">
<tr>
<td colspan=3 bgcolor="#FFFFFF">
<trans:showPageMessage label="filter.pages" /> 
<logic:iterate scope="request" name="pagetk" id="token">
<html:link page="/prjfilter.do" name="token" property="params">
<bean:write name="token" property="no"/>
</html:link>
&nbsp;|&nbsp;
</logic:iterate>
</td>
</tr>
</logic:present>
</form>


</td></tr>

</table>
<td bgcolor="#FFFFFF"></td>
</tr>
<tr >
<td class="text_search" align=center bgcolor="#FFFFFF">
<html:link page="/desktop.do"><trans:showPageMessage label="filter.backtomydesktop" hide_link="true" />
</html:link>
</td></tr>
</table><trans:showPageMessage label="translator.showhiddentags"/>